the purpose of this program is to read in two images and display the
additive result of the two images - using any of the documented
color quickdraw modes (the old quickdraw copybits modes may also be
used, but the end result is not very pretty). The two source images can
be offset from each other using the scroll bars on the source image windows.
this has only been tested, and only is sure to run correctly, on 8-bit color mode, macintosh II, with Finder 6.1, System 6.0.2, and Multifinder 6.0.1, using
the THINK LightSpeed C developement environment.
known bug:
(1) some pointers and handles are not deallocated, so that memory eventually runs out when running the program long enough -- every time the
source images are changed (including scrolling), the result image is regenerated, causing a loss of more heap-space.
(2) saving the result image as not been implemented, as well as features such as magnify and reduce, and cut/paste to/from the clipboard.
un-explained bugs:
(1) why the images look bad upon first presentation, but look good after switching around in multifinder.
(2) the original idea was to read an image into a gray-mapped offscreen pixmap, then manipulate the pixel values directly, and then change the color map to a special set of 16 red * 16 green values. this seemed to not work at all.
(3) one of the color addition modes doesn't seem to work, ever, though it's documented in my not-quite-final copy of the inside mac volume 5.
I would appreciate any help with debugging, C examples of using color quickdraw - palette manager, color manager, off-screen pixmaps, etc. Contact me through US MAIL, phone, or as a last resort, Genie: (I'm trying to minimize Genie expenses.)
Keith Ray
Radiology 9071
UT Southwestern Medical Center in Dallas
5323 Harry Hines Blvd.
Dallas TX 75235-9071
214-688-2180
I am moderately happy in my present work-place ( Macs, Vaxes, PCs, possibly Suns in the near future ), but dislike being the ONLY mac-literate programmer around, as well as seeking salary better than the state-requirements. Please see the Short Resume.mw.